package com.fc.redap.dao;

import com.fc.redap.entity.ProjectBookedUserEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by E7450 on 2019/1/9.
 */
public interface ProjectBookedUserDao extends BaseDao<ProjectBookedUserEntity> {

    /* 根据项目ID 删除项目预定的用户记录 */
    void deleteByProjectId(Long projectId);

    /* 根据用户ID 删除用户预定记录 */
    void deleteByUserId(Long projectId);

    List<ProjectBookedUserEntity> queryHistoryList(Map<String, Object> map);

    Integer getUntouchedNum();

}
